package game.leon.engine.net.codec;

/**
 * User: bianpeng
 * Date: 11-12-27
 * 网络传输过来的一条原始消息, 未解析的, 但是这几项要求必须包含
 * userId, message, and data
 *
 * 可以携带一些不重要的消息
 */
public class GateRawMessage {
    private long userId;
    private int message;
    private byte[] data;
    public GateRawMessage(long userId, int message, byte[] data) {
        this.userId = userId;
        this.message = message;
        this.data = data;
    }
    public long getUserId() {
        return userId;
    }
    public int getMessage() {
        return message;
    }
    public byte[] getData() {
        return data;
    }
}
